package com.gyz.cfmall.product.vo;


import com.gyz.cfmall.product.entity.SkuImagesEntity;
import com.gyz.cfmall.product.entity.SkuInfoEntity;
import com.gyz.cfmall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author: gongyuzhuo
 * @since: 2023/4/2 18:43
 * @description:
 */
@ToString
@Data
public class SkuItemVo {

    /**
     * 1、sku基本信息的获取  pms_sku_info
     */
    private SkuInfoEntity skuInfo;

    /**
     * 2、sku的图片信息    pms_sku_images
     */
    private List<SkuImagesEntity> images;

    /**
     * 3、获取spu的销售属性组合
     */
    private List<SkuItemSaleAttrVo> saleAttr;

    /**
     * 4、获取spu的介绍
     */
    private SpuInfoDescEntity desc;

    /**
     * 5、获取spu的规格参数信息
     */
    private List<SpuItemAttrGroupVo> groupAttrs;

    /**
     * 6、是否有货
     */
    private boolean hasStock = true;

}
